﻿using RentHouse.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentHouse.IService
{
    public interface IPermissionsService : IServiceSupport
    {

        /// <summary>
        /// 查全部
        /// </summary>
        /// <returns></returns>
        List<PermissionsDTO> GetList();
        /// <summary>
        /// 添加
        /// </summary>
        string Create(PermissionsDTO permissionsDTO);
        /// <summary>
        /// 删除
        /// </summary>
        string Delete(PermissionsDTO permissionsDTO);
        /// <summary>
        /// 用户修改
        /// </summary>
        string Update(PermissionsDTO permissionsDTO);

        List<PermissionsDTO> GetPermis();

        //T_AdminUsers GetAdminUserById(string Id);
        List<PermissionsDTO> GetListAdminUserById(int Id);
    }
}
